package com.shanzmoo.db.store.service.impl;

import com.shanzmoo.db.store.entity.StorePurchaseBillDetailEntity;
import com.shanzmoo.db.store.entity.vo.StorePurchaseBillDetailVO;
import com.shanzmoo.db.store.mapper.StorePurchaseBillDetailMapper;
import com.shanzmoo.db.store.service.IStorePurchaseBillDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 采购单明细 服务实现类
 *
 * @author xueqz 2021-03-07
 */
@Service
public class StorePurchaseBillDetailServiceImpl extends ServiceImpl<StorePurchaseBillDetailMapper, StorePurchaseBillDetailEntity>
        implements IStorePurchaseBillDetailService {

    @Override
    public void deleteByBillId(Integer id) {
        baseMapper.deleteByBillId(id);
    }

    @Override
    public List<StorePurchaseBillDetailVO> queryByBillIds(List<Integer> billIds) {
        return baseMapper.queryByBillIds(billIds);
    }

}
